/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package fh.view.masterclass;

import fh.view.running.CurrentTourneyOverview;
import fh.component.DateParser;
import fh.controller.EventController;
import fh.controller.LocationController;
import fh.controller.PlayerController;
import fh.model.Event;
import fh.model.Location;
import fh.model.Player;
import fh.view.*;
import javax.swing.DefaultComboBoxModel;
import javax.swing.JOptionPane;

/**
 *
 * @author Abstract Build
 */
public class AddMasterclass extends javax.swing.JFrame {

    Event masterclass;
    EventController m;
    Location location;
    Player vip;
    LocationController lc;
    PlayerController pc;

    /**
     * Creates new form AddMasterclass
     */
    public AddMasterclass() {
        initComponents();
        masterclass = new Event();
        location = new Location();
        vip = new Player();
        m = new EventController();
        lc = new LocationController();
        pc = new PlayerController();
        FillList();
    }

    private void FillList() {
        DefaultComboBoxModel locations = lc.getLocationsList();
        LocationMasterclassList.clearSelection();
        LocationMasterclassList.setModel(locations);
        DefaultComboBoxModel vips = pc.getVIPPlayerList();
        VipMasterclassList.clearSelection();
        VipMasterclassList.setModel(vips);
    }

    private Location getLocationMasterclass() {

        Location location = (Location) LocationMasterclassList.getSelectedValue();


        return location;
    }

    private Player getVipMasterclass() {

        Player vip = (Player) VipMasterclassList.getSelectedValue();


        return vip;
    }

    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        CurrentTourneyButton = new javax.swing.JButton();
        LocationEventMainButton = new javax.swing.JButton();
        PlayerOverviewButton = new javax.swing.JButton();
        jLabel1 = new javax.swing.JLabel();
        jLabel2 = new javax.swing.JLabel();
        jLabel3 = new javax.swing.JLabel();
        jLabel5 = new javax.swing.JLabel();
        jLabel6 = new javax.swing.JLabel();
        jLabel7 = new javax.swing.JLabel();
        jLabel8 = new javax.swing.JLabel();
        jLabel9 = new javax.swing.JLabel();
        NameMasterclassField = new javax.swing.JTextField();
        DateMasterclassField = new javax.swing.JTextField();
        MinRatingMAsterclassField = new javax.swing.JTextField();
        MaxRatingMasterclassField = new javax.swing.JTextField();
        MaxPlayerMasterclassField = new javax.swing.JTextField();
        jScrollPane1 = new javax.swing.JScrollPane();
        VipMasterclassList = new javax.swing.JList();
        jScrollPane2 = new javax.swing.JScrollPane();
        LocationMasterclassList = new javax.swing.JList();
        AddMasterclassButton = new javax.swing.JButton();
        CancelAddMasterclassButton = new javax.swing.JButton();
        jLabel4 = new javax.swing.JLabel();
        EntryFeeAddMasterclass = new javax.swing.JTextField();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
        setTitle("Toevoegen masterclass");
        setMaximumSize(new java.awt.Dimension(800, 600));
        setMinimumSize(new java.awt.Dimension(800, 600));
        setResizable(false);

        CurrentTourneyButton.setText("Toernooi runnen");
        CurrentTourneyButton.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                CurrentTourneyButtonActionPerformed(evt);
            }
        });

        LocationEventMainButton.setText("Locatie & Event");
        LocationEventMainButton.setMaximumSize(new java.awt.Dimension(111, 23));
        LocationEventMainButton.setMinimumSize(new java.awt.Dimension(111, 23));
        LocationEventMainButton.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                LocationEventMainButtonActionPerformed(evt);
            }
        });

        PlayerOverviewButton.setText("Speler beheer");
        PlayerOverviewButton.setMaximumSize(new java.awt.Dimension(111, 23));
        PlayerOverviewButton.setMinimumSize(new java.awt.Dimension(111, 23));
        PlayerOverviewButton.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                PlayerOverviewButtonActionPerformed(evt);
            }
        });

        jLabel1.setFont(new java.awt.Font("Tahoma", 0, 30)); // NOI18N
        jLabel1.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jLabel1.setText("Full House");
        jLabel1.setToolTipText("");

        jLabel2.setText("Naam:");

        jLabel3.setText("Datum:");

        jLabel5.setText("Maximaal aantal deelnemers:");

        jLabel6.setText("Minimale rating:");

        jLabel7.setText("Maximale rating:");

        jLabel8.setText("Bekende speler:");

        jLabel9.setText("Locatie:");

        NameMasterclassField.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                NameMasterclassFieldActionPerformed(evt);
            }
        });

        DateMasterclassField.setToolTipText("DD/MM/YYYY");
        DateMasterclassField.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                DateMasterclassFieldActionPerformed(evt);
            }
        });

        MinRatingMAsterclassField.setToolTipText("vanaf 0");
        MinRatingMAsterclassField.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                MinRatingMAsterclassFieldActionPerformed(evt);
            }
        });

        MaxRatingMasterclassField.setToolTipText("boven de minimale rating");
        MaxRatingMasterclassField.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                MaxRatingMasterclassFieldActionPerformed(evt);
            }
        });

        MaxPlayerMasterclassField.setToolTipText("boven de 0");
        MaxPlayerMasterclassField.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                MaxPlayerMasterclassFieldActionPerformed(evt);
            }
        });

        VipMasterclassList.setModel(new javax.swing.AbstractListModel() {
            String[] strings = { "Item 1", "Item 2", "Item 3", "Item 4", "Item 5" };
            public int getSize() { return strings.length; }
            public Object getElementAt(int i) { return strings[i]; }
        });
        jScrollPane1.setViewportView(VipMasterclassList);

        LocationMasterclassList.setModel(new javax.swing.AbstractListModel() {
            String[] strings = { "Item 1", "Item 2", "Item 3", "Item 4", "Item 5" };
            public int getSize() { return strings.length; }
            public Object getElementAt(int i) { return strings[i]; }
        });
        jScrollPane2.setViewportView(LocationMasterclassList);

        AddMasterclassButton.setText("Aanmaken");
        AddMasterclassButton.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                AddMasterclassButtonActionPerformed(evt);
            }
        });

        CancelAddMasterclassButton.setText("Annuleren");
        CancelAddMasterclassButton.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                CancelAddMasterclassButtonActionPerformed(evt);
            }
        });

        jLabel4.setText("Kosten:");

        EntryFeeAddMasterclass.setToolTipText("boven de 0");
        EntryFeeAddMasterclass.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                EntryFeeAddMasterclassActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(jLabel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                    .addGroup(layout.createSequentialGroup()
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(layout.createSequentialGroup()
                                .addGap(39, 39, 39)
                                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                                    .addGroup(layout.createSequentialGroup()
                                        .addComponent(AddMasterclassButton)
                                        .addGap(18, 18, 18)
                                        .addComponent(CancelAddMasterclassButton))
                                    .addGroup(layout.createSequentialGroup()
                                        .addComponent(LocationEventMainButton, javax.swing.GroupLayout.PREFERRED_SIZE, 216, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addGap(18, 18, 18)
                                        .addComponent(PlayerOverviewButton, javax.swing.GroupLayout.PREFERRED_SIZE, 216, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addGap(18, 18, 18)
                                        .addComponent(CurrentTourneyButton, javax.swing.GroupLayout.PREFERRED_SIZE, 216, javax.swing.GroupLayout.PREFERRED_SIZE))))
                            .addGroup(layout.createSequentialGroup()
                                .addContainerGap()
                                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                                    .addComponent(jLabel7)
                                    .addComponent(jLabel6)
                                    .addComponent(jLabel5)
                                    .addComponent(jLabel3)
                                    .addComponent(jLabel2)
                                    .addComponent(jLabel4)
                                    .addComponent(jLabel9))
                                .addGap(46, 46, 46)
                                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(jScrollPane2, javax.swing.GroupLayout.PREFERRED_SIZE, 487, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addGroup(layout.createSequentialGroup()
                                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                            .addComponent(DateMasterclassField)
                                            .addComponent(MaxPlayerMasterclassField)
                                            .addComponent(MinRatingMAsterclassField)
                                            .addComponent(MaxRatingMasterclassField)
                                            .addComponent(EntryFeeAddMasterclass)
                                            .addComponent(NameMasterclassField, javax.swing.GroupLayout.PREFERRED_SIZE, 183, javax.swing.GroupLayout.PREFERRED_SIZE))
                                        .addGap(33, 33, 33)
                                        .addComponent(jLabel8)
                                        .addGap(46, 46, 46)
                                        .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 189, javax.swing.GroupLayout.PREFERRED_SIZE)))))
                        .addGap(0, 67, Short.MAX_VALUE)))
                .addContainerGap())
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addGap(20, 20, 20)
                .addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 77, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(18, 18, 18)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(CurrentTourneyButton, javax.swing.GroupLayout.PREFERRED_SIZE, 48, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(PlayerOverviewButton, javax.swing.GroupLayout.PREFERRED_SIZE, 50, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addComponent(LocationEventMainButton, javax.swing.GroupLayout.PREFERRED_SIZE, 50, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(18, 18, 18)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jLabel8)
                    .addGroup(layout.createSequentialGroup()
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                            .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 0, Short.MAX_VALUE)
                            .addGroup(layout.createSequentialGroup()
                                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                    .addComponent(jLabel2)
                                    .addComponent(NameMasterclassField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                                .addGap(18, 18, 18)
                                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                    .addComponent(jLabel3)
                                    .addComponent(DateMasterclassField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                                .addGap(18, 18, 18)
                                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                    .addComponent(jLabel5)
                                    .addComponent(MaxPlayerMasterclassField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jLabel6)
                            .addComponent(MinRatingMAsterclassField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addGap(18, 18, 18)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jLabel7)
                            .addComponent(MaxRatingMasterclassField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jLabel4)
                            .addComponent(EntryFeeAddMasterclass, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))))
                .addGap(30, 30, 30)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jLabel9)
                    .addComponent(jScrollPane2, javax.swing.GroupLayout.PREFERRED_SIZE, 97, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 51, Short.MAX_VALUE)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(AddMasterclassButton)
                    .addComponent(CancelAddMasterclassButton))
                .addGap(25, 25, 25))
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    private void CurrentTourneyButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_CurrentTourneyButtonActionPerformed
        new CurrentTourneyOverview().setVisible(true);
        this.dispose();
   }//GEN-LAST:event_CurrentTourneyButtonActionPerformed

    private void LocationEventMainButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_LocationEventMainButtonActionPerformed
        new LocationEventOverview().setVisible(true);
        this.dispose();
   }//GEN-LAST:event_LocationEventMainButtonActionPerformed

    private void PlayerOverviewButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_PlayerOverviewButtonActionPerformed
        new PlayerOverview().setVisible(true);
        this.dispose();
   }//GEN-LAST:event_PlayerOverviewButtonActionPerformed

    private void AddMasterclassButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_AddMasterclassButtonActionPerformed

        try {

            if (NameMasterclassField.getText().equals("") || DateParser.dateStringToMySqlDate(DateMasterclassField.getText()) == null) {
                if (DateParser.dateStringToMySqlDate(DateMasterclassField.getText()) == null) {
                    JOptionPane.showMessageDialog(null, "Vul de datum in als DD-MM-YYYY");
                } else {
                    JOptionPane.showMessageDialog(null, "Vul alle velden in");
                }

            } else {
                if (VipMasterclassList.getSelectedValue() == null || LocationMasterclassList.getSelectedValue() == null) {

                    JOptionPane.showMessageDialog(null, "Geen Locatie of Bekende speler geselecteerd");
                } else {

                    masterclass.setName(NameMasterclassField.getText());
                    masterclass.setDate(DateParser.dateStringToMySqlDate(DateMasterclassField.getText()));

                    masterclass.setMin_rating(Integer.parseInt(MinRatingMAsterclassField.getText()));
                    masterclass.setMax_players(Integer.parseInt(MaxPlayerMasterclassField.getText()));
                    masterclass.setMax_rating(Integer.parseInt(MaxRatingMasterclassField.getText()));
                    masterclass.setEntry_fee(Integer.parseInt(EntryFeeAddMasterclass.getText()));

                    if (masterclass.getMin_rating() >= 0 && masterclass.getMax_rating() > masterclass.getMin_rating() && masterclass.getMax_players() > 0 && masterclass.getEntry_fee() > 0) {

                        masterclass.setType("Masterclass");
                        location = getLocationMasterclass();
                        masterclass.setLocation_id(location.getId());
                        if (location.getMax_capacity() >= masterclass.getMax_players()) {
                            vip = getVipMasterclass();
                            masterclass.setPlayer_id(vip.getId());
                            m.insertMasterclass(masterclass);
                            new MasterclassOverview().setVisible(true);
                            this.dispose();
                        } else {
                            JOptionPane.showMessageDialog(null, "Max aantal players mag niet meer zijn dan " + location.getMax_capacity());
                        }
                    } else {
                        JOptionPane.showMessageDialog(null, "Getallen moeten positief zijn, max rating moet groter zijn dan min rating");
                    }


                }

            }
        } catch (NumberFormatException e) {

            JOptionPane.showMessageDialog(null, "Moeten hele getallen zijn");
        }


    }//GEN-LAST:event_AddMasterclassButtonActionPerformed
    private void CancelAddMasterclassButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_CancelAddMasterclassButtonActionPerformed


        new MasterclassOverview().setVisible(true);
        this.dispose();
    }//GEN-LAST:event_CancelAddMasterclassButtonActionPerformed

    private void NameMasterclassFieldActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_NameMasterclassFieldActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_NameMasterclassFieldActionPerformed

    private void DateMasterclassFieldActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_DateMasterclassFieldActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_DateMasterclassFieldActionPerformed

    private void MaxPlayerMasterclassFieldActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_MaxPlayerMasterclassFieldActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_MaxPlayerMasterclassFieldActionPerformed

    private void MinRatingMAsterclassFieldActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_MinRatingMAsterclassFieldActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_MinRatingMAsterclassFieldActionPerformed

    private void MaxRatingMasterclassFieldActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_MaxRatingMasterclassFieldActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_MaxRatingMasterclassFieldActionPerformed

    private void EntryFeeAddMasterclassActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_EntryFeeAddMasterclassActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_EntryFeeAddMasterclassActionPerformed

    /**
     * @param args the command line arguments
     */
    public static void main(String args[]) {
        /*
         * Set the Nimbus look and feel
         */
        //<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
        /*
         * If Nimbus (introduced in Java SE 6) is not available, stay with the
         * default look and feel. For details see
         * http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html
         */
        try {
            for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
                if ("Nimbus".equals(info.getName())) {
                    javax.swing.UIManager.setLookAndFeel(info.getClassName());
                    break;


                }
            }
        } catch (ClassNotFoundException ex) {
            java.util.logging.Logger.getLogger(AddMasterclass.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (InstantiationException ex) {
            java.util.logging.Logger.getLogger(AddMasterclass.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (IllegalAccessException ex) {
            java.util.logging.Logger.getLogger(AddMasterclass.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (javax.swing.UnsupportedLookAndFeelException ex) {
            java.util.logging.Logger.getLogger(AddMasterclass.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        }
        //</editor-fold>

        /*
         * Create and display the form
         */
        java.awt.EventQueue.invokeLater(new Runnable() {

            public void run() {
                new AddMasterclass().setVisible(true);
            }
        });
    }
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton AddMasterclassButton;
    private javax.swing.JButton CancelAddMasterclassButton;
    private javax.swing.JButton CurrentTourneyButton;
    private javax.swing.JTextField DateMasterclassField;
    private javax.swing.JTextField EntryFeeAddMasterclass;
    private javax.swing.JButton LocationEventMainButton;
    private javax.swing.JList LocationMasterclassList;
    private javax.swing.JTextField MaxPlayerMasterclassField;
    private javax.swing.JTextField MaxRatingMasterclassField;
    private javax.swing.JTextField MinRatingMAsterclassField;
    private javax.swing.JTextField NameMasterclassField;
    private javax.swing.JButton PlayerOverviewButton;
    private javax.swing.JList VipMasterclassList;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JLabel jLabel3;
    private javax.swing.JLabel jLabel4;
    private javax.swing.JLabel jLabel5;
    private javax.swing.JLabel jLabel6;
    private javax.swing.JLabel jLabel7;
    private javax.swing.JLabel jLabel8;
    private javax.swing.JLabel jLabel9;
    private javax.swing.JScrollPane jScrollPane1;
    private javax.swing.JScrollPane jScrollPane2;
    // End of variables declaration//GEN-END:variables
}
